package com.lanren.familybookapp.ui.me.interfaces;

import com.lanren.common.base.IView;
import com.lanren.familybookapp.ui.me.bean.BookInfoBean;

import java.util.List;

/**
 * @ClassName IBookEditModel
 * @Description TODO
 * @Author chongheng.wang
 * @Date 2019/10/11 14:24
 * @Version 1.0
 */
public interface IBookEditModel {
    interface IBookEditView extends IView {
        void onSuccess(String msg);
        void GetBookEditSuccess(List<BookInfoBean> bookInfoBeans);
    }

    interface BookEditModel {
        void onError(int code, String msg);

        void onSuccess(String msg);
    }

    interface GetBookEditModel {
        void onError(int code, String msg);

        void onSuccess(List<BookInfoBean> bookInfoBeans);
    }

}
